/*
 * @Author: tanjunyi@doctorwork.com
 * @Date: 2020-05-22 15:20:43
 * @LastEditors: tanjunyi@doctorwork.com
 * @LastEditTime: 2020-05-22 15:30:58
 * @Description:
 */
var mobx = require('mobx');
const { observable, computed, autorun } = mobx;

let obj = observable({
	name: 'Caroline'
})

let target = computed(() => {
	return obj.name + "__d"
})

autorun(() => {
	console.log("这里是autoRun:", target.get())
})

obj.name = "332"